package com.entity;


public class Auctionuser {

  private int userId;//用户编号
  private String userName;//用户名
  private String userPassword;//用户密码
  private String userCardNo;//用户身份证号
  private String userTel;//用户电话
  private String userAddress;//用户地址
  private String userPostNumber;//用户邮政编号
  private String userIsAdmin;//用户是否是管理员，0是竞拍者，1是管理员，默认值是0
  private String userQuestion;//用户找回密码的问题
  private String userAnswer;//用户找回密码答案

  //无参构造函数
  public Auctionuser() {
  }
  //有参构造函数
  public Auctionuser(int userId, String userName, String userPassword, String userCardNo, String userTel, String userAddress, String userPostNumber, String userIsAdmin, String userQuestion, String userAnswer) {
    this.userId = userId;
    this.userName = userName;
    this.userPassword = userPassword;
    this.userCardNo = userCardNo;
    this.userTel = userTel;
    this.userAddress = userAddress;
    this.userPostNumber = userPostNumber;
    this.userIsAdmin = userIsAdmin;
    this.userQuestion = userQuestion;
    this.userAnswer = userAnswer;
  }

  public int getUserId() {
    return userId;
  }

  public void setUserId(int userId) {
    this.userId = userId;
  }

  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public String getUserPassword() {
    return userPassword;
  }

  public void setUserPassword(String userPassword) {
    this.userPassword = userPassword;
  }

  public String getUserCardNo() {
    return userCardNo;
  }

  public void setUserCardNo(String userCardNo) {
    this.userCardNo = userCardNo;
  }

  public String getUserTel() {
    return userTel;
  }

  public void setUserTel(String userTel) {
    this.userTel = userTel;
  }

  public String getUserAddress() {
    return userAddress;
  }

  public void setUserAddress(String userAddress) {
    this.userAddress = userAddress;
  }

  public String getUserPostNumber() {
    return userPostNumber;
  }

  public void setUserPostNumber(String userPostNumber) {
    this.userPostNumber = userPostNumber;
  }

  public String getUserIsAdmin() {
    return userIsAdmin;
  }

  public void setUserIsAdmin(String userIsAdmin) {
    this.userIsAdmin = userIsAdmin;
  }

  public String getUserQuestion() {
    return userQuestion;
  }

  public void setUserQuestion(String userQuestion) {
    this.userQuestion = userQuestion;
  }

  public String getUserAnswer() {
    return userAnswer;
  }

  public void setUserAnswer(String userAnswer) {
    this.userAnswer = userAnswer;
  }
}
